package com.example.strategy;

/**
 * Created by Risky57 on 2017/4/28.
 */

public class RedHeadDuck extends Duck {

    public RedHeadDuck () {
        super("红头鸭");
        mFlyBehavior = new FlyWithWings();
    }

    @Override
    public void display () {
        System.out.println("红头鸭");
    }

}
